<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="com.goodedeeds.webapp.controller.ResourcePageAction" %>
<%--@elvariable id="actionBean" type="com.goodedeeds.webapp.controller.ResourcePageAction"--%>
<%@ include file="/WEB-INF/jsp/include/taglibs.jsp"%>
<div style="text-align: center; font-size: 1.5em;">Edit</div>
<stripes:form action="<%=ResourcePageAction.URL%>" method="post">

    <div>Page Id: <stripes:text readonly="readonly" name="pageId"/></div>
    <div>pageResourceType: <stripes:text readonly="readonly" name="pageResourceType"/></div>
    <div>pageResourceId: <stripes:text readonly="readonly" name="pageResourceId"/></div>
    <div>page Name: <stripes:text name="resourcePage.pageName"/></div>
    <div>page Header: <stripes:textarea name="resourcePage.pageHeader"/></div>
    <div>page Body: <stripes:textarea name="resourcePage.pageBody"/></div>
    <div>Is Default Page: <stripes:checkbox name="resourcePage.defaultPage"/></div>

    <stripes:submit name="save" value="Save"/>
</stripes:form>